﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="StrategicPlanListDisplay.aspx.cs" Inherits="StrategicPlan_StrategicPlanListDisplay" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>战略计划投影</title>
    <link href="../App_Themes/css/main_css.css" rel="stylesheet" type="text/css" />
    <script src="../Js/Page_Validate.js" type="text/javascript"></script>
    <link href="../App_Themes/css/display.css" rel="stylesheet" type="text/css" />
      <style type="text/css">
        /*标黑投影显示的表格线*/
        td
        {
            border-width: 1px;
            border-color: Black;
        }
        th
        {
            border-width: 1px;
            border-color: Black;
        }
        table
        {
            border-color: Black;
        }
    </style>
</head>
<body>
    <form id="form1" runat="server">
     <table border="0" cellpadding="0" cellspacing="0" width="100%">
        <tr>
            <td class="firstbjcolor" colspan="4" style="height: 14px;">
                <span class="currentHere">当前位置:战略计划管理-&gt;查看战略计划</span>
            </td>
        </tr>
        <tr>
            <td style="height: 1;">
            </td>
        </tr>
        <tr>
            <td valign="middle" style="background-image: url(../images/secondRow.gif); background-repeat: repeat-x;
                height: 30px;">
                选择年份:<asp:DropDownList ID="drpYear" runat="server" AutoPostBack="True" SkinID="dropdownlistSkin"
                    OnSelectedIndexChanged="drpYear_SelectedIndexChanged">
                </asp:DropDownList>
                &nbsp;部门：<asp:DropDownList ID="drpDepartment" runat="server" AutoPostBack="True"
                    OnSelectedIndexChanged="drpDepartment_SelectedIndexChanged">
                </asp:DropDownList>
                &nbsp;<asp:Button ID="btnImport" runat="server" OnClick="btnImport_Click" Text="导入战略计划"
                    Width="100px" />
                <asp:Button ID="btnModify" runat="server" Text="修改" OnClick="btnModify_Click" />
                <asp:Button ID="btnDel" runat="server" OnClick="btnDel_Click" 
                                    Text="删除" />
            </td>
        </tr>
        <tr>
            <td>
                <asp:GridView ID="gdvTotalPlan" Width="100%" runat="server" DataKeyNames="StrategicPlanId"
                    SkinID="gridviewSkin" AutoGenerateColumns="False" EnableModelValidation="True">
                    <Columns>
                        <asp:TemplateField HeaderText="选择">
                            <ItemTemplate>
                                <asp:CheckBox ID="ckbSelect" runat="server" />
                            </ItemTemplate>
                            <HeaderStyle HorizontalAlign="Center" VerticalAlign="Middle" Width="5%" />
                            <ItemStyle HorizontalAlign="Center" VerticalAlign="Middle" Width="5%" />
                        </asp:TemplateField>
                        <asp:BoundField DataField="StrategicPlanId" HeaderText="Id">
                            <HeaderStyle HorizontalAlign="Center" VerticalAlign="Middle" Width="5%" />
                            <ItemStyle HorizontalAlign="Center" VerticalAlign="Middle" Width="5%" />
                        </asp:BoundField>
                        <asp:BoundField DataField="StrategicPlanSortId" HeaderText="计划编号">
                            <HeaderStyle HorizontalAlign="Center" VerticalAlign="Middle" Width="5%" />
                            <ItemStyle HorizontalAlign="Center" VerticalAlign="Middle" Width="5%" />
                        </asp:BoundField>
                        <asp:BoundField DataField="StartTime" HeaderText="开始时间" DataFormatString="{0:yyyy-MM-dd}">
                            <HeaderStyle HorizontalAlign="Center" VerticalAlign="Middle" Width="7%" />
                            <ItemStyle HorizontalAlign="Center" VerticalAlign="Middle" Width="7%" />
                        </asp:BoundField>
                        <asp:BoundField DataField="CompleteTime" DataFormatString="{0:yyyy-MM-dd}" HeaderText="完成时间">
                            <HeaderStyle HorizontalAlign="Center" VerticalAlign="Middle" Width="7%" />
                            <ItemStyle HorizontalAlign="Center" VerticalAlign="Middle" Width="7%" />
                        </asp:BoundField>
                        <asp:BoundField DataField="WorkItem" HeaderText="计划内容">
                            <HeaderStyle HorizontalAlign="Center" VerticalAlign="Middle" Width="20%" />
                            <ItemStyle HorizontalAlign="Center" VerticalAlign="Middle" Width="20%" />
                        </asp:BoundField>
                        <asp:BoundField DataField="MasterDepartment" HeaderText="负责部门">
                            <HeaderStyle HorizontalAlign="Center" VerticalAlign="Middle" Width="5%" />
                            <ItemStyle HorizontalAlign="Center" VerticalAlign="Middle" Width="5%" />
                        </asp:BoundField>
                        <asp:BoundField DataField="MasterPeople" HeaderText="负责人">
                            <HeaderStyle HorizontalAlign="Center" VerticalAlign="Middle" Width="10%" />
                            <ItemStyle HorizontalAlign="Center" VerticalAlign="Middle" Width="10%" />
                        </asp:BoundField>
                        <asp:BoundField DataField="SlaveDepartment" HeaderText="配合部门">
                            <HeaderStyle HorizontalAlign="Center" VerticalAlign="Middle" Width="5%" />
                            <ItemStyle HorizontalAlign="Center" VerticalAlign="Middle" Width="5%" />
                        </asp:BoundField>
                        <asp:BoundField DataField="SlaveDepartmentDuty" HeaderText="配合部门责任">
                            <HeaderStyle HorizontalAlign="Center" VerticalAlign="Middle" Width="10%" />
                            <ItemStyle HorizontalAlign="Center" VerticalAlign="Middle" Width="10%" />
                        </asp:BoundField>
                        <asp:BoundField DataField="EvaluatePeople" HeaderText="评估人">
                            <HeaderStyle HorizontalAlign="Center" VerticalAlign="Middle" Width="5%" />
                            <ItemStyle HorizontalAlign="Center" VerticalAlign="Middle" Width="5%" />
                        </asp:BoundField>
                        <asp:TemplateField HeaderText="查看分解">
                            <ItemTemplate>
                                <asp:Button ID="btnViewQuarter" runat="server" OnClick="btnViewQuarter_Click" Text="查看分解" />
                            </ItemTemplate>
                            <HeaderStyle Width="5%" />
                            <ItemStyle Width="5%" />
                        </asp:TemplateField>
                    </Columns>
                </asp:GridView>
            </td>
        </tr>
    </table>
    </form>
</body>
</html>
